package com.fortune.dal.dao;

import com.fortune.dal.model.Debt;

import java.util.List;

public interface DebtDAO {

    void insert(Debt debt) throws Exception;

    Long deleteById(Integer id) throws Exception;

    Long updateById(Debt debt) throws Exception;

    List<Debt> queryByModel(Debt debt) throws Exception;

    Debt queryById(Integer id) throws Exception;
    
}
